-
Notifications
You must be signed in to change notification settings - Fork 133
feat(baremetal): add support cloud-init #3478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
847763a to
d06a108
Compare
234e82e to
e72905d
Compare
12b1c42 to
269a444
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3478 +/- ##
=========================================
- Coverage 1.76% 1.76% -0.01%
=========================================
Files 405 405
Lines 44318 44330 +12
=========================================
Hits 784 784
- Misses 43446 43458 +12
Partials 88 88 ☔ View full report in Codecov by Sentry. |
c97cd6c to
5fd408a
Compare
5fd408a to
ddccb0a
Compare
ddccb0a to
ce21317
Compare
| resource "scaleway_baremetal_server" "my_server_ci" { | ||
| zone = "fr-par-2" | ||
| offer = data.scaleway_baremetal_offer.my_offer.offer_id | ||
| os = "d17d6872-0412-45d9-a198-af82c34d3c5c" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use a data source and no hard coded values
| - `ipam_ip_ids` - (Optional) List of IPAM IP IDs to assign to the server in the requested private network. | ||
| - `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the server should be created. | ||
| - `partitioning` (Optional) The partitioning schema in JSON format | ||
| - `cloud_init` - (Optional) Configuration data to pass to cloud-init such as a YAML cloud config or a user-data script. Accepts either a string containing the content or a path to a file (for example `file("cloud-init.yml")`). Max length: 127998 characters. Updates to `cloud_init` will update the server user-data via the API and do not trigger a reinstall; however, a reboot of the server is required for the OS to re-run cloud-init and apply the changes. Only supported for OSes that have cloud-init enabled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a way to see if cloud init is supported or not?
No description provided.